package com.xky.example_student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "教师信息管理")
@TableName("teacher")
public class Teacher {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("tea_id")
    private String teaId;
    
    @TableField("tea_name")
    private String teaName;
    
    @TableField("tea_age")
    private Integer teaAge;
    
    @TableField("tea_subject")
    private String teaSubject;
    
    @TableField("tea_calss")
    private String teaCalss;
    
    @TableField("tea_phone")
    private String teaPhone;
    
    @TableField("tea_address")
    private String teaAddress;
    
    @TableField("tea_email")
    private String teaEmail;


    
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}



